package org.lboot.flow.module.event.sp;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.lboot.jpa.jpa.AbstractJpaCurdExt;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class FlowEventServiceProviderServiceImpl extends AbstractJpaCurdExt<Long, FlowEventServiceProvider, FlowEventServiceProviderDAO> implements FlowEventServiceProviderService{
    @Override
    public List<FlowEventServiceProvider> getByServiceId(String serviceId) {
        return dao.findByServiceId(serviceId);
    }
}
